package com.ant.collect.dto;

import com.ant.collect.common.PageRequest;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;

@Data
public class UserDto extends PageRequest {

    private Integer id;


    @TableField("username")
    private String username;

    @TableField("password")
    private String userPwd;

    private Integer accountType;

    @TableField("user_id")
    private Integer userId;

    @ApiModelProperty(value = "省")
    private String province;

    @ApiModelProperty(value = "市州")
    private String city;

    @ApiModelProperty(value = "区县")
    private String county;

    @ApiModelProperty(value = "详细地址")
    private String address;

    @ApiModelProperty(value = "企业名称")
    @TableField("company_name")
    private String companyName;

    @ApiModelProperty(value = "组织机构代码")
    @TableField("company_code")
    private String companyCode;

    @ApiModelProperty(value = "营业执照")
    @TableField("business_url")
    private String businessUrl;

    @ApiModelProperty(value = "法人姓名")
    @TableField("person_name")
    private String personName;

    @ApiModelProperty(value = "法人身份证 ")
    @TableField("person_url")
    private String personUrl;

    @ApiModelProperty(value = "联系人")
    private String contact;

    @ApiModelProperty(value = "联系人电话")
    @TableField("contact_tel")
    private String contactTel;

    @TableField("creation_time")
    private LocalDateTime creationTime;

    private List<String> roles;
}
